package com.minshenglife.zanzan.service.power;

import java.io.OutputStream;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.minshenglife.zanzan.entity.Dept;
import com.minshenglife.zanzan.entity.power.WorkConDown;

public interface DownLoadExcelService {
	/**
	 * 获取时间差在工作日志中的天数
	 * @param startDate
	 * @param endDate
	 * @return
	 */
	//public List<String> getDay(String startDate,String endDate);
	
	/**
	 * 获取员工指定日期数据
	 * @param strDay
	 * @return
	 */
	public List<List<WorkConDown>> getWorkCon(Date firstDate, Date secondDate,String dept_name);

	/**
	 * 导出excel表格
	 * @param map
	 * @param results
	 * @param out
	 */
	public void getWorkExcel(Map<String, Object> map,
			List<List<WorkConDown>> results , OutputStream out);
	/**
	 * 查出部门
	 * @param map
	 * @return
	 */
	public String getDept_name(Map<String,Object> map);
	
	public List<Dept> getDeptList(Map<String,Object> map);

}
